package com.hhkj.study.admin.course.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author luowu
 * @Date 2024/10/12 涵 9:00:06
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CourseResourceInfo implements Serializable {

    /**
     * 课程关联的资源统计 数量等
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<CourseAssocResourceStat> courseAssocResourceList;

    /**
     * 课程下资源之间的关系
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<CourseResourceRelevance> resourceRelevanceList;
}
